package com.lagou.bean;

import com.lagou.service.CatService;
import com.lagou.service.DogService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class CatComsumerComponet {
    @Reference
    private CatService catService;


    public String  sayHello(String name){
        return  catService.catHello(name);
    }

}
